
__BEGIN_NAMESPACE

dllhandle DllLoad( const char* dll ) {
	return ::dlopen( dll, RTLD_LAZY | RTLD_GLOBAL);
}


FARPROC DllSymbol( dllhandle dll, const char* fun ) {
	return ::dlsym( dll, fun );
}

bool DllUnload( dllhandle dll ) {
	return 0==::dlclose(dll);
}

__END_NAMESPACE